package Logic.EbSample;

import FrameWork.EventBus.Emitter;
import FrameWork.Model.Player;
import org.springframework.stereotype.Component;

@Component
public class AuthService implements Emitter {

    public void onLogic(){
        Player player = new Player("余志毅");
        player.emit("login",new AfterLoginEvent());
    }

}
